** This file is the master file used to run all the scripts that create the estimation results:

**Run the code that estimates the mixed logit models presented in columns (1) to (3) of Table 3: 
do "$root/Code/Estimation/Estimate_mixed.do"

**AFTER THESE RESULTS THE ESTIMATION OF THE MATLAB RESULTS SHOULD BE IMPLEMENTED USING THE COEFFICIENTS AS STARTING VALUES!
**THE RESULTING COEFFICIENTS FROM MATLAB NEED TO BE MANUALLY PUT INTO THE INPUT MATRIX IN THE FOLLOWING ESTIMATION FILES:

**Run the file that calculates the estimation results of the first two baseline counterfactuals and results for Tables 4-8:
do "$root/Code/Estimation/counterfactuals.do"

**Run the file that estimates the results for the relative adoption probability changes (Results are used to produce Fig 3 and various Appendix tables and graphs.)
do "$root/Code/Estimation/elasticities.do"


**This file runs the simulated grids of the various policy combinations in parallel. All the underlying files in the folder "Code/Estimation/Welfare_max" need to be updated with the estimated Matlab results for the calculations to be correctly done. These files can also be invoked seperately on a HPC to save computation time!
do "$root/Code/Estimation/welfare08_master3y.do"
do "$root/Code/Estimation/welfare08_master3y_elast.do"

**After completion the optimal policy results can be found via summary statistics and then computed also for the wealth groups: 

do "$root/Code/Estimation/optimal_policy.do"


